import DS from 'ember-data';
import BaseModel from './base-model';

var Serviceitem=BaseModel.extend({
  name:DS.attr('string'),//护理项目名称
  price:DS.attr('string'),//价格
  careType:DS.belongsTo('dicttype'),//护理类别
  countType:DS.belongsTo('dicttype'),//类别
  frequency:DS.attr('string'),//频次
  period:DS.belongsTo('dicttype'),//周期
  serviceTime:DS.attr('string'),//所需时间
  remark:DS.attr('string'),//护理说明
  createDateTime:DS.attr('number'),//创建时间
  createUser:DS.belongsTo('user'),//创建人
  lastUpdateDateTime:DS.attr('number'),//更新时间
  lastUpdateUser:DS.belongsTo('user'),//更新人

});

export default Serviceitem;
